package com.rxh.service.impl.risk;

import com.rxh.mapper.risk.RiskDangerMapper;
import com.rxh.pojo.risk.RiskDanger;
import com.rxh.service.base.AbstractBaseService;
import com.rxh.service.risk.RiskDangerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RiskDangerServiceImpl extends AbstractBaseService<RiskDanger, Long> implements RiskDangerService {
    private final RiskDangerMapper riskDangerMapper;

    @Autowired
    public RiskDangerServiceImpl(RiskDangerMapper riskDangerMapper) {
        this.riskDangerMapper = riskDangerMapper;
        setMapper(riskDangerMapper);
    }
}